package com.hxzy.shop.order.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author rlj
 * @Date 2021/8/13 10:42
 * @Version 1.0
 */
@Data
public class RefundReq implements Serializable {
    private static final long serialVersionUID = -8927252164801251548L;


    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    /**
     * 退款原因
     */
    @ApiModelProperty(value = "退款原因")
    private String afterSalesReason;

    @ApiModelProperty(value = "会员id")
    private Long memberId;

    @ApiModelProperty(value = "售后类型 1 退款 2退货退款")
    @NotNull(message = "退款类型不能为空")
    private Integer afterSalesType;
}
